﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace ch01
{
    public partial class FrmTestImageList : Form
    {
        public FrmTestImageList()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            this.listView1.View = View.LargeIcon;
        }

        private void button2_Click(object sender, EventArgs e)
        {
            this.listView1.View = View.SmallIcon;
        }

        private void button3_Click(object sender, EventArgs e)
        {
            this.listView1.View = View.Details;
        }

        private void button4_Click(object sender, EventArgs e)
        {
            this.listView1.View = View.List;
        }

        private void button5_Click(object sender, EventArgs e)
        {
            this.listView1.View = View.Tile;
        }
    }
}
